package com.moore.service;

import com.moore.bean.Contract;
import com.moore.dto.ResponseData;;import javax.servlet.http.HttpServletRequest;
import java.sql.Date;

public interface ContractService {

    ResponseData getContractInfo(String account);

    ResponseData signContract(Contract contract);

    ResponseData getContractList(Date startDate, Date endDate, String name, String status, int curr, int size, HttpServletRequest request);

    ResponseData terminationContract(int id, String name, String msg);
}
